//
//  File.swift
//
//
//  Created by didi on 2022/9/7.
//

import SwiftHtml
import Vapor

open class AbstractTemplate<T>: TemplateRepresentable {
    open var context: T

    public init(_ context: T) {
        self.context = context
    }

    open func render(_ req: Request) -> Tag {
        fatalError("Abstract render function")
    }
}
